package com.xy.controller;

import com.xy.service.UserInfoApi;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xxy
 * @date 2022/1/6 15:00
 */
@RestController
@Slf4j
public class TestEmsServerController {

    private final UserInfoApi userInfoApi;

    public TestEmsServerController(UserInfoApi userInfoApi) {
        this.userInfoApi = userInfoApi;
    }

    @GetMapping("test")
    public String test(){
        userInfoApi.setConfig();
        return "===";
    }

}
